
var quanbu=document.getElementById("quanbu"),
	gongzuo=document.getElementById("gongzuo"),
	xitong=document.getElementById("xitong"),
	pingtai=document.getElementById("pingtai");
addEvent(quanbu,"click",function(){
	$(quanbu).addClass("active");
	$(gongzuo).removeClass("active");
	$(xitong).removeClass("active");
	$(pingtai).removeClass("active");
})
addEvent(gongzuo,"click",function(){
	$(gongzuo).addClass("active");
	$(quanbu).removeClass("active");
	$(xitong).removeClass("active");
	$(pingtai).removeClass("active");
})
addEvent(xitong,"click",function(){
	$(xitong).addClass("active");
	$(gongzuo).removeClass("active");
	$(quanbu).removeClass("active");
	$(pingtai).removeClass("active");
})
addEvent(pingtai,"click",function(){
	$(pingtai).addClass("active");
	$(gongzuo).removeClass("active");
	$(xitong).removeClass("active");
	$(quanbu).removeClass("active");
})